package com.hx.vending.service;

import com.hx.vending.bean.SubsidiaryRole;
import com.hx.vending.bean.UserOperation;
import com.hx.vending.util.Msg;

/**
 * Created by Administrator on 2019/3/12.
 */
public interface IUserOperationService {


    /**
     * 查询权限列表
     * @return
     */
    Msg selectOperationList();

    /**
     * 添加权限
     * @param userOperation
     * @return
     */
    Msg insertUserOperation(UserOperation userOperation);

    /**
     * 根据角色岗位查询拥有权限
     * @param subsidiaryRole
     * @return
     */
    Msg selectOperationByRole(SubsidiaryRole subsidiaryRole);
}
